﻿#nullable enable

using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace PHMEE.EnergyEfficiency;

public interface IVesselEeConfigRepository
{
    Task<List<VesselEeConfig>> GetByFleetIdAsync(Guid fleetId);
    
    Task<VesselEeConfig?> GetByIdAsync(Guid id);

    Task<VesselEeConfig?> GetByVesselIdAsync(Guid vesselId);

    Task<List<VesselEeConfig>> GetAllAsync();

    Task InsertAsync(VesselEeConfig vesselEeConfig);
    
    Task UpdateAsync(VesselEeConfig vesselEeConfig);
    
    Task DeleteAsync(Guid id);
}